package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZQW
 */
public class Scheduling extends Model<Scheduling> {

private static final long serialVersionUID=1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 排班日期
     */
    @TableField("SchedDate")
    private Date SchedDate;

    /**
     * 科室ID
     */
    @TableField("DeptID")
    private Integer DeptID;

    /**
     * 医生ID
     */
    @TableField("UserID")
    private Integer UserID;

    /**
     * 午别
     */
    @TableField("Noon")
    private String Noon;

    /**
     * 排班规则ID
     */
    @TableField("RuleID")
    private Integer RuleID;

    /**
     * 删除标记
     */
    @TableField("DelMark")
    private Integer DelMark;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getSchedDate() {
        return SchedDate;
    }

    public void setSchedDate(Date SchedDate) {
        this.SchedDate = SchedDate;
    }

    public Integer getDeptID() {
        return DeptID;
    }

    public void setDeptID(Integer DeptID) {
        this.DeptID = DeptID;
    }

    public Integer getUserID() {
        return UserID;
    }

    public void setUserID(Integer UserID) {
        this.UserID = UserID;
    }

    public String getNoon() {
        return Noon;
    }

    public void setNoon(String Noon) {
        this.Noon = Noon;
    }

    public Integer getRuleID() {
        return RuleID;
    }

    public void setRuleID(Integer RuleID) {
        this.RuleID = RuleID;
    }

    public Integer getDelMark() {
        return DelMark;
    }

    public void setDelMark(Integer DelMark) {
        this.DelMark = DelMark;
    }

    public static final String ID = "ID";

    public static final String SCHEDDATE = "SchedDate";

    public static final String DEPTID = "DeptID";

    public static final String USERID = "UserID";

    public static final String NOON = "Noon";

    public static final String RULEID = "RuleID";

    public static final String DELMARK = "DelMark";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Scheduling{" +
        "id=" + id +
        ", SchedDate=" + SchedDate +
        ", DeptID=" + DeptID +
        ", UserID=" + UserID +
        ", Noon=" + Noon +
        ", RuleID=" + RuleID +
        ", DelMark=" + DelMark +
        "}";
    }
}
